package com.todod.model;

import java.util.Date;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;

/**
 * 操作日志
 * 
 * @ClassName: OperateLog
 * @Description:
 * @author gsh
 * @date 2019年10月11日
 *
 */
@TableName("LTCLOUD_ZSGL_DB_DEV.sys_operate_log")
public class OperateLog {

	/**
	 * 主键
	 */
	@TableId(value = "ol_id", type = IdType.INPUT)
	private Long id;
	/**
	 * 用户id
	 */
	@TableField(value = "ol_user_id")
	private Long userId;
	/**
	 * 部门id
	 */
	@TableField(value = "ol_department_id")
	private Long departmentId;// 部门id
	/**
	 * 用户名称
	 */
	@TableField(value = "ol_user_name")
	private String userName;
	/**
	 * 操作内容
	 */
	@TableField(value = "ol_content")
	private String content;
	/**
	 * ip地址
	 */
	@TableField(value = "ol_ip_addr")
	private String ipAddr;
	/**
	 * 方法名
	 */
	@TableField(value = "ol_method_name")
	private String methodName;
	/**
	 * 类名
	 */
	@TableField(value = "ol_class_name")
	private String className;
	/**
	 * 创建用户id
	 */
	@TableField(value = "ol_create_user_id")
	private Long createUserId;
	/**
	 * 创建时间
	 */
	@TableField(value = "ol_create_time")
	private Date createTime;
	/**
	 * 修改用户名id
	 */
	@TableField(value = "ol_modify_user_id")
	private Long modifyUserId;
	/**
	 * 修改时间
	 */
	@TableField(value = "ol_modify_time")
	private Date modifyTime;
	/**
	 * 抽取标志位
	 */
	@TableField(value = "ol_get_flag")
	private String getFlag;

	public Long getId() {
		return id;
	}

	public void setId(Long id) {
		this.id = id;
	}

	public Long getUserId() {
		return userId;
	}

	public void setUserId(Long userId) {
		this.userId = userId;
	}

	public Long getDepartmentId() {
		return departmentId;
	}

	public void setDepartmentId(Long departmentId) {
		this.departmentId = departmentId;
	}

	public String getUserName() {
		return userName;
	}

	public void setUserName(String userName) {
		this.userName = userName;
	}

	public String getContent() {
		return content;
	}

	public void setContent(String content) {
		this.content = content;
	}

	public String getIpAddr() {
		return ipAddr;
	}

	public void setIpAddr(String ipAddr) {
		this.ipAddr = ipAddr;
	}

	public String getMethodName() {
		return methodName;
	}

	public void setMethodName(String methodName) {
		this.methodName = methodName;
	}

	public String getClassName() {
		return className;
	}

	public void setClassName(String className) {
		this.className = className;
	}

	public Long getCreateUserId() {
		return createUserId;
	}

	public void setCreateUserId(Long createUserId) {
		this.createUserId = createUserId;
	}

	public Date getCreateTime() {
		return createTime;
	}

	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}

	public Long getModifyUserId() {
		return modifyUserId;
	}

	public void setModifyUserId(Long modifyUserId) {
		this.modifyUserId = modifyUserId;
	}

	public Date getModifyTime() {
		return modifyTime;
	}

	public void setModifyTime(Date modifyTime) {
		this.modifyTime = modifyTime;
	}

	public String getGetFlag() {
		return getFlag;
	}

	public void setGetFlag(String getFlag) {
		this.getFlag = getFlag;
	}

}